package kikt.tk.coordinatorlayoutdemo

import android.app.Activity
import android.content.Intent

/**
 * Created by cai on 2017/10/20.
 */
fun <T : Activity> Activity.startActivity(clazz: Class<T>) {
    startActivity(Intent(this, clazz))
}